<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/jspcommon.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的点评 - 爽客网</title>
<%@include file="../common/js.jsp" %>
<%@include file="../common/css.jsp" %>
<link href="/css/base/hf.css" type="text/css" rel="stylesheet" />
<link href="/css/other.css" type="text/css" rel="stylesheet" />
<link href="css/pager.css" type="text/css" rel="stylesheet" />
</head>

<body>
	
    	
          
   <!-- head -->
	<%@include file="../common/header.jsp" %>
	<!-- header-->
	<div class="wrap">
    	<div class="w965 mg i_main_box">
        	<!-- left -->
           <%@include file="myLeft.jsp" %>
            <!-- left--end-->
              <!-- right -->
            <div class="i_right_box" style="height:1500px;">
            	<div class="i_account_wrap dp_wrap">
                	<h1>我的点评</h1>
                    <div class="ml20 mr20">
                    	<ul class="i_title_sorts">
                        	<li class="current">
                            	发表过的评论
                            </li>
                            <!-- <li>
                            	回复过的评论
                            </li> -->
                        </ul>
                        <!-- 发表过的评论 -->
						<div class="pl_detail">
                        	<table class="pub_comment">
                            	<thead>
                                	<tr>
                                    	<th width="500">标题(共<span>1</span>条)</th>
                                        <th width="130">状态</th>
                                        <th>对象</th>
                                    </tr>
                                </thead>
                                <tbody>
                                	<c:forEach items="${disModel.list}" var="disList">
                                	<tr>
                                    	<td>
                                        	<div class="tit_info">
                                            	<a href="disCmtDet.htm?id=${disList.id}" class="title" style="overflow: hidden;">${disList.content}</a>
                                                <a href="disCmtDet.htm?id=${disList.id}" class="block">全文>></a>
                                                <p class="date">
                                             		<fmt:formatDate value="${disList.gmtCreated}" pattern="MM-dd HH:mm" />
                                                </p>
                                            </div>
                                        </td>
                                        <td>
                                        	<c:if test="${disList.isAudit=='00'}">等待审核</c:if>
                                      		<c:if test="${disList.isAudit=='01'}">审核通过</c:if>
                                      		<c:if test="${disList.isAudit=='02'}">未通过</c:if>
                                        </td>
                                        <td>
                                        
                                        	<a href="#">${disList.ownerName}</a>
                                        
                                        </td>
                                    </tr>
                                   </c:forEach> 
                                </tbody>
                            </table>
                            <c:if test="${disModel.totalPage>1 }"><div id="page" class="h_page"></div></c:if>
                        </div>
                    </div>
                </div>
            </div>
         
        </div>
    </div>
      <!-- help-->
         <div class="w980 mg box_style1">
        	<c:forEach items="${help }" var="c">
        		${c.content}
        	</c:forEach>
        </div>
        <!-- help--end-->
        
    </div>
    <!-- content--end-->
	    <!-- foot-->
	    <%@include file="../common/footer.jsp" %>
	    <!-- foot--end-->
        
        
        <script type="text/javascript">
$(function(){
	$("#page").pager({
    	pagenumber : '${disModel.currentPage}',
    	pagecount : '${disModel.totalPage}',
    	buttonClickCallback : function(page) {
    		window.location.href = "myCmt.htm?page="+page;
    	}
    });
});
</script>
</body>
</html>
